package com.zakj.scservice.bean;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * create by IntelliJ IDEA
 * User: HuangRZ
 * QQ: 917647409
 * Email: huangrz11@163.com
 * Date: 2017/11/24
 * Time: 14:33
 * Description:
 **/
public class Cabin implements Serializable{

    //舱位名称
    private String cabinName;

    //舱位编号
    private String cabinNumber;

    //舱位价格
    private BigDecimal cabinPrice;

    //舱位剩余票数
    private Integer ticketRemain;

    public Cabin() {
    }

    public Cabin(String cabinName, String cabinNumber, BigDecimal cabinPrice, Integer ticketRemain) {
        this.cabinName = cabinName;
        this.cabinNumber = cabinNumber;
        this.cabinPrice = cabinPrice;
        this.ticketRemain = ticketRemain;
    }

    public String getCabinName() {
        return cabinName;
    }

    public void setCabinName(String cabinName) {
        this.cabinName = cabinName;
    }

    public String getCabinNumber() {
        return cabinNumber;
    }

    public void setCabinNumber(String cabinNumber) {
        this.cabinNumber = cabinNumber;
    }

    public BigDecimal getCabinPrice() {
        return cabinPrice;
    }

    public void setCabinPrice(BigDecimal cabinPrice) {
        this.cabinPrice = cabinPrice;
    }

    public Integer getTicketRemain() {
        return ticketRemain;
    }

    public void setTicketRemain(Integer ticketRemain) {
        this.ticketRemain = ticketRemain;
    }

    @Override
    public String toString() {
        return "Cabin{" +
                "cabinName='" + cabinName + '\'' +
                ", cabinNumber='" + cabinNumber + '\'' +
                ", cabinPrice=" + cabinPrice +
                ", ticketRemain=" + ticketRemain +
                '}';
    }
}
